package cn.usian.pricingstrategy.coefficient.mapper;

import cn.usian.basicInformation.log.commons.Constants;
import cn.usian.basicInformation.log.commons.Log;
import cn.usian.pojo.pricingstrategy.coefficient.PricingSpecialCoefficient;

import java.util.List;

public interface CoefficientMapper {
    List<PricingSpecialCoefficient> list();

    PricingSpecialCoefficient findById(Long id);

    @Log(operationModule = "定价策略", operationType = Constants.INSERT)
    void save(PricingSpecialCoefficient pricingSpecialCoefficient);

    @Log(operationModule = "定价策略", operationType = Constants.UPDATE)
    void update(PricingSpecialCoefficient pricingSpecialCoefficient);
}
